home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / winterp-1.13 / src-client / Makefile.NeXT < prev    next >
Encoding:
Makefile  |  1991-11-22  |  2.8 KB  |  72 lines

  1. ################################################################################
  2. #
  3. # File:         Makefile.NeXT
  4. # RCS:          $Header: Makefile.NeXT,v 1.2 91/03/25 03:54:27 mayer Exp $
  5. # Description:  WINTERP client Makefile for generic machine
  6. # Author:       Niels Mayer, HPLabs
  7. # Created:      Tue Aug 29 01:19:06 1989
  8. # Modified:     Thu Nov 21 22:07:58 1991
  9. # Language:     N/A
  10. # Package:      N/A
  11. # Status:       X11r5 contrib tape release
  12. #
  13. # WINTERP Copyright 1989, 1990, 1991 Hewlett-Packard Company (by Niels Mayer).
  14. # XLISP version 2.1, Copyright (c) 1989, by David Betz.
  15. #
  16. # Permission to use, copy, modify, distribute, and sell this software and its
  17. # documentation for any purpose is hereby granted without fee, provided that
  18. # the above copyright notice appear in all copies and that both that
  19. # copyright notice and this permission notice appear in supporting
  20. # documentation, and that the name of Hewlett-Packard and David Betz not be
  21. # used in advertising or publicity pertaining to distribution of the software
  22. # without specific, written prior permission.  Hewlett-Packard and David Betz
  23. # make no representations about the suitability of this software for any
  24. # purpose. It is provided "as is" without express or implied warranty.
  25. #
  26. # HEWLETT-PACKARD AND DAVID BETZ DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  27. # SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
  28. # IN NO EVENT SHALL HEWLETT-PACKARD NOR DAVID BETZ BE LIABLE FOR ANY SPECIAL,
  29. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  30. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  31. # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  32. # PERFORMANCE OF THIS SOFTWARE.
  33. #
  34. # See ./winterp/COPYRIGHT for information on contacting the authors.
  35. #
  36. # Please send modifications, improvements and bugfixes to mayer@hplabs.hp.com
  37. # Post XLISP-specific questions/information to the newsgroup comp.lang.lisp.x
  38. #
  39. ################################################################################
  40.  
  41. #
  42. # Add machine specific -D defines in DEFINES, below. For example, some
  43. # machines require -DBSD when using berkeley (BSD) networking facilities.
  44. #
  45. DEFINES = -bsd $(USER_DEFINES)
  46. CFLAGS = $(DEFINES)
  47. OPTIMIZER = -O
  48.  
  49. .c.o:
  50.     $(CC) -c $(OPTIMIZER) $*.c $(CFLAGS)
  51.  
  52. RM = rm -f
  53.  
  54. #
  55. # By default, we make only the client program 'wl' -- this client uses
  56. # Unix Domain Sockets to connect to WINTERP's eval-server. If Unix domain
  57. # sockets don't work for your machine, try using tcp/ip sockets (see 
  58. # "wl-tcpip:" below). Note that to use tcp/ip sockets, you'll have to
  59. # modify ../src-server/config.h (add "#define WINTERP_WANT_INET_SERVER")
  60. # and recompile ../src-server/winterp
  61. #
  62. all:: wl
  63.  
  64. wl:    wl.c
  65.     $(CC) $(OPTIMIZER) -o $@ $(CFLAGS) wl.c
  66.  
  67. wl-tcpip: wl-tcpip.c
  68.     $(CC) $(OPTIMIZER) -o $@ $(CFLAGS) wl-tcpip.c
  69.  
  70. clean::
  71.     $(RM) wl wl-tcpip
  72.